﻿.mw-mask {
  background: #cccccc;
  -ms-opacity: .1;
  opacity: .1;
  -webkit-filter: alpha(opacity=10);
  -moz-filter: alpha(opacity=10);
  -o-filter: alpha(opacity=10);
  filter: alpha(opacity=10);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mw-window {
  position: absolute;
  top: 20%;
  width: 600px;
  margin: auto;
  height: auto;
  padding: 20px;
  background-color: #fff;
  border-radius: .3125em;
}

.mw-window .mw-title {
  background: #f7f7f7;
  background-color: #fff;
  height: 20px;
  line-height: 20px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.mw-window .mw-title h3 {
  padding: 0;
  margin: 0;
  display: inline;
  color: #333;
  font-weight: normal;
  font-size: 14px;
}

.mw-window .mw-title .mw-close {
  border: none;
  cursor: pointer;
  display: inline-block;
  background: url() no-repeat;
  background-position: center;
  float: right;
  width: 12px;
  height: 12px;
  padding: 8px;
  color: transparent;
  font-size: 12px;
  outline: none;
  -webkit-appearance: none;
}

.mw-window .mw-content {
  height: auto;
  background: #ffffff;
  padding: 20px 10px;
  font-size: 12px;
  overflow-y: auto;
}

@media (min-height: 768px) {
  .mw-window .mw-content {
    max-height: 500px;
  }
}

@media (min-height: 900px) {
  .mw-window .mw-content {
    max-height: 700px;
  }
}

@media (min-height: 1200px) {
  .mw-window .mw-content {
    max-height: 1000px;
  }
}

.mw-window .mw-tool {
  background: #ffffff;
  height: 40px;
  line-height: 40px;
  padding: 10px 0;
  text-align: center;
}

.mw-window .mw-tool button {
  outline: none;
  width: auto;
  margin: auto 10px;
  padding: 0 20px;
  height: 32px;
  line-height: 32px;
  background-color: #f7f7f7;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.mw-window .tips-success {
  font-size: 34px;
  color: #fff;
}

.mw-window .tips-success + div {
  margin-top: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.mw-window .tips-error {
  font-size: 34px;
  color: #fff;
}

.mw-window .tips-error + div {
  margin-top: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.mw-window .tips-alert {
  font-size: 34px;
  color: #fff;
}

.mw-window .tips-alert + div {
  margin-top: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

/*theme default*/
.mw-window-default {
  border-radius: .3125em;
}

.mw-window-underlay-default {
  background-color: rgba(113, 112, 133, 0.8);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

/*theme glass*/
.mw-window-glass {
  top: 131px;
  background: none;
  padding: 10px;
}

.mw-window-glass .mw-title {
  background: none;
  border-bottom: 1px solid rgba(204, 204, 204, 0.8);
}

.mw-window-glass .mw-title h3 {
  color: #111;
}

.mw-window-glass .mw-content {
  background: none;
}

.mw-window-glass .mw-tool {
  background: none;
}

.mw-window-glass .mw-tool button {
  color: #111;
  background-color: transparent;
  border: 1px solid #666;
}

.mw-window-underlay-glass {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

/*theme alert*/
.mw-window-alert {
  width: 260px;
  top: 131px;
  border-radius: 6px;
  background: none;
  padding: 0;
}

.mw-window-alert .mw-title {
  display: none;
}

.mw-window-alert .mw-content {
  background: none;
  color: #fff;
  text-align: center;
}

.mw-window-alert .mw-tool {
  background: none;
}

.mw-window-alert .mw-tool button {
  color: #fff;
  background-color: #c0392b;
  border: 1px solid #fff;
}

.mw-window-alert .mw-tool button.mw-cancelBtn {
  display: none;
}

.mw-window-underlay-alert {
  background-color: rgba(113, 112, 133, 0.8);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

/*theme tips*/
.mw-window-tips {
  width: 260px;
  top: 131px;
  border-radius: 6px;
  background: none;
  padding: 0;
}

.mw-window-tips .mw-title {
  display: none;
}

.mw-window-tips .mw-content {
  background: none;
  color: #fff;
  text-align: center;
}

.mw-window-tips .mw-tool {
  display: none;
}

.mw-window-underlay-tips {
  background-color: rgba(113, 112, 133, 0.8);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}
